package com.ganjiang.entity;

import java.util.List;

public class UserCenter {
	private Integer uid;
	private String password;
	private String myid;
	private String myidkey;
	private String regip;
	private Integer regdate;
	private String lastloginip;
	private Integer lastlogintime;
	private String salt;
	private String secques;
	
	private  List<User>users;

	public UserCenter(String password, String myid, String myidkey, String regip, Integer regdate, String lastloginip,
			Integer lastlogintime, String salt, String secques) {
		super();
		this.password = password;
		this.myid = myid;
		this.myidkey = myidkey;
		this.regip = regip;
		this.regdate = regdate;
		this.lastloginip = lastloginip;
		this.lastlogintime = lastlogintime;
		this.salt = salt;
		this.secques = secques;
	}

	public List<User> getUsers() {
		return users;
	}

	public void setUsers(List<User> users) {
		this.users = users;
	}

	public UserCenter() {
		super();
		// TODO Auto-generated constructor stub
	}

	public UserCenter(Integer uid, String password, String myid, String myidkey, String regip, Integer regdate,
			String lastloginip, Integer lastlogintime, String salt, String secques) {
		super();
		this.uid = uid;
		this.password = password;
		this.myid = myid;
		this.myidkey = myidkey;
		this.regip = regip;
		this.regdate = regdate;
		this.lastloginip = lastloginip;
		this.lastlogintime = lastlogintime;
		this.salt = salt;
		this.secques = secques;
	}





	@Override
	public String toString() {
		return "UserCenter [uid=" + uid + ", password=" + password + ", myid=" + myid + ", myidkey=" + myidkey
				+ ", regip=" + regip + ", regdate=" + regdate + ", lastloginip=" + lastloginip + ", lastlogintime="
				+ lastlogintime + ", salt=" + salt + ", secques=" + secques + "]";
	}

	public Integer getUid() {
		return uid;
	}

	public void setUid(Integer uid) {
		this.uid = uid;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getMyid() {
		return myid;
	}

	public void setMyid(String myid) {
		this.myid = myid;
	}

	public String getMyidkey() {
		return myidkey;
	}

	public void setMyidkey(String myidkey) {
		this.myidkey = myidkey;
	}

	public String getRegip() {
		return regip;
	}

	public void setRegip(String regip) {
		this.regip = regip;
	}

	public Integer getRegdate() {
		return regdate;
	}

	public void setRegdate(Integer regdate) {
		this.regdate = regdate;
	}

	public String getLastloginip() {
		return lastloginip;
	}

	public void setLastloginip(String lastloginip) {
		this.lastloginip = lastloginip;
	}

	public Integer getLastlogintime() {
		return lastlogintime;
	}

	public void setLastlogintime(Integer lastlogintime) {
		this.lastlogintime = lastlogintime;
	}

	public String getSalt() {
		return salt;
	}

	public void setSalt(String salt) {
		this.salt = salt;
	}

	public String getSecques() {
		return secques;
	}

	public void setSecques(String secques) {
		this.secques = secques;
	}
}